home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX 6.2 Development Libraries
/
SGI IRIX 6.2 Development Libraries.iso
/
dist
/
complib.idb
/
usr
/
share
/
catman
/
p_man
/
cat3
/
complib
/
scsum1.z
/
scsum1
Wrap
Text File
|
1996-03-14
|
1KB
|
67 lines
SSSSCCCCSSSSUUUUMMMM1111((((3333FFFF)))) SSSSCCCCSSSSUUUUMMMM1111((((3333FFFF))))
NNNNAAAAMMMMEEEE
SCSUM1 - take the sum of the absolute values of a complex vector and
returns a single precision result
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
REAL FUNCTION SCSUM1( N, CX, INCX )
INTEGER INCX, N
COMPLEX CX( * )
PPPPUUUURRRRPPPPOOOOSSSSEEEE
SCSUM1 takes the sum of the absolute values of a complex vector and
returns a single precision result.
Based on SCASUM from the Level 1 BLAS.
The change is to use the 'genuine' absolute value.
Contributed by Nick Higham for use with CLACON.
AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
N (input) INTEGER
The number of elements in the vector CX.
CX (input) COMPLEX array, dimension (N)
The vector whose elements will be summed.
INCX (input) INTEGER
The spacing between successive values of CX. INCX > 0.
PPPPaaaaggggeeee 1111